.mine {
  .ml-5 {
    margin-left: 10rpx;
  }

  .mt-17 {
    margin-top: 34rpx;
  }

  .ml-11 {
    margin-left: 22rpx;
  }

  .display-flex {
    display: flex
  }

  .mr-auto {
    margin-right: auto !important;
  }

  &.page {
    background-color: #f8f8f8;
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    .section {
      padding: 24rpx 28rpx 100rpx 28rpx;
      // border: 1rpx solid red;

      // background-image: linear-gradient(171.1deg, #1c2c60 0%, #1d2f65 -14.46%, #adb4c9 46.78%, #ea602d00 100%);
      
      // 成绩上屏页面样式
      .user-card {
        background: white;
        margin: 4rpx 0;
        border-radius: 16rpx;
        box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
      }

      .user-card:active {
        transform: scale(0.98);
      }

      .user-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30rpx;
        border-bottom: 1rpx solid #f0f0f0;
        cursor: pointer;
      }

      .user-info {
        display: flex;
        align-items: center;
      }

      .user-avatar {
        width: 80rpx;
        height: 80rpx;
        border-radius: 50%;
        margin-right: 24rpx;
        border: 4rpx solid #e0e0e0;
      }

      .user-name {
        font-size: 32rpx;
        font-weight: 500;
        color: #333;
      }

      .expand-icon {
        width: 48rpx;
        height: 48rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
      }

      .expand-icon.expanded {
        transform: rotate(180deg);
      }

      .icon {
        font-size: 24rpx;
        color: #666;
      }

      .event-details {
        padding: 30rpx;
        animation: slideDown 0.3s ease;
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-20rpx);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .event-card {
        display: flex;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 16rpx;
        padding: 30rpx;
        margin-bottom: 40rpx;
        border: 2rpx solid #dee2e6;
      }

      .event-image {
        width: 160rpx;
        height: 120rpx;
        border-radius: 12rpx;
        margin-right: 30rpx;
        object-fit: cover;
        box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
      }

      .event-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0; // 确保flex子元素可以正确收缩
      }

      .event-title {
        font-size: 28rpx;
        font-weight: 500;
        color: #333;
        line-height: 1.4;
        margin-bottom: 16rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%; // 确保宽度占满容器
      }

      .event-location {
        font-size: 24rpx;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%; // 确保宽度占满容器
      }

      .score-list {
        margin-bottom: 40rpx;
      }

      .score-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24rpx 0rpx;
        background: white;
        border-radius: 12rpx;
        margin-bottom: 16rpx;
        border: 2rpx solid #f0f0f0;
        transition: all 0.2s ease;
      }

      .score-item:hover {
        box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
      }

      .score-item.active {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        border-color: #2196f3;
        box-shadow: 0 4rpx 16rpx rgba(33, 150, 243, 0.2);
      }

      .score-item:last-child {
        margin-bottom: 0;
      }

      .score-distance,
      .score-event,
      .score-category,
      .score-value,
      .score-rank {
        text-align: center;
        font-size: 24rpx;
        color: #333;
        padding: 0 10rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .score-distance {
        flex: 0.8; // 距离列稍微窄一点
        font-weight: 600;
        color: #2e7d32;
      }

      .score-event {
        flex: 0.8; // 项目列稍微窄一点
        color: #1976d2;
      }

      .score-category {
        flex: 1.2; // 组别列稍微宽一点
        color: #7b1fa2;
        min-width: 0; // 确保flex子元素可以正确收缩
        max-width: 100%; // 限制最大宽度
      }

      .score-value {
        flex: 0.8; // 成绩值列稍微窄一点
        font-weight: 600;
        color: #d32f2f;
        font-size: 24rpx;
      }

      .score-rank {
        flex: 0.8; // 排名列稍微窄一点
        color: #ff6b35;
        font-weight: 500;
      }

      .display-section {
        text-align: center;
        margin: 40rpx 0;
        padding: 0;
      }

      .display-btn {
        background: linear-gradient(135deg, #1D428A 0%, #0d47a1 100%);
        color: white;
        border: none;
        border-radius: 22rpx;
        padding: 20rpx 60rpx;
        font-size: 32rpx;
        font-weight: 500;
        width: 100%;
        height: 100rpx;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 8rpx 24rpx rgba(29, 66, 138, 0.3);
        position: relative;
        overflow: hidden;
      }

      .display-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #2E5AA0 0%, #1D428A 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .display-btn:hover::before {
        opacity: 1;
      }

      .display-btn:active {
        transform: scale(0.98);
        box-shadow: 0 4rpx 16rpx rgba(29, 66, 138, 0.4);
      }

      .display-btn-text {
        font-size: 32rpx;
        font-weight: 600;
        color: white;
        margin-bottom: 16rpx;
        position: relative;
        z-index: 1;
        line-height: 1;
      }

      .queue-info {
        font-size: 24rpx;
        color: rgba(255, 255, 255, 0.9);
        position: relative;
        z-index: 1;
        font-weight: 400;
        margin-top: 0;
        line-height: 1;
      }
    }

    .movable-area {
      position: fixed;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 100;
    }

    .fab-container {
      pointer-events: auto;
      width: 100rpx;
      height: 100rpx;
      background-color: transparent;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2);
    }

    .fab-icon {
      width: 100%;
      height: 100%;
    }

    .text-wrapper {
      width: 90%;
      height: 90rpx;
      background-color: #1D428A;
      box-shadow: 0rpx 0rpx 18rpx 0rpx #ee73500a;
      border-radius: 22rpx;
      border: unset !important;
      // position: absolute;
      // bottom: 90rpx;
      // left: 50%;
      // transform: translate(-50%, 0);

      &::after {
        border: unset !important;
      }

      .text {
        color: #fff;
        font-size: 30rpx;
        font-family: 'PingFang SC';
        line-height: 90rpx;
      }
    }
  }
}